<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/**
 * PENGUIN FrameWork
 * Add View Page with Smarty
 * 
 * @author      hungtd <tdhungit@gmail.com> 0972014011
 * @copyright   Tran Dinh Hung 2011
 * @package     PenguinFW
 * @subpackage  ModuleBuilder
 * @version     1.0.0
 */

class View_builder extends MY_Controller
{
    public function index()
    {
        $this->load->helper('form');
        $this->load->library('form_validation');        
        
        $this->form_validation->set_rules('resource', 'Resource', 'required');
		$this->form_validation->set_rules('view_name', 'Template name', 'required');
        
        if ($this->input->post() && $this->form_validation->run() == TRUE)
        {
            
        }
        
        $data = array(
            
        );
        
        $this->load->view('view_builder.php', $data);
    }
}

?>
